﻿using System;
using System.Collections.Generic;
using OestsCommon.Model;
using OestsCommon.TcpNet;
using OestsServer.Managers;
using OestsServer.Net;

namespace OestsServer.Handlers
{
	public class RoomListRequestHandler : HandlerBase
	{
		public override PacketKey PKey
		{
			get
			{
				return PacketKey.RoomList;
			}
		}

		public override void Execute(ClientChannel client, Request packet)
		{
			//int taskId = int.Parse(packet.DataStr);
			//List<Room> listRoom = RoomManager.Instance.GetRoomList(taskId);
			////Struct2<int, List<Room>> data = new Struct2<int, List<Room>>();
			////data.Value1 = taskId;
			////data.Value2 = listRoom;
			//ResponsePacket.DataObject = listRoom;
			//client.Send(ResponsePacket);
		}
	}
}
